package cn.house.service;

import java.util.List;

import cn.house.dao.DistrictDao;
import cn.house.dao.DistrictDaoImpl;
import cn.house.entity.District;

public class DistrictServiceImpl implements DistrictService{
	DistrictDao districtDao = new DistrictDaoImpl();
	
	@Override
	public List<District> listAll() {
		return districtDao.listAll();
	}

	@Override
	public District getDistrictById(Integer id) {
		return districtDao.getDistrictById(id);
	}

	
}
